package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "商品", description = "发布的商品")
public class Business
{
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    @ApiModelProperty(value = "用户账号(弃用)由官方发布", example = "弃用")
    private String username;
    @ApiModelProperty(value = "用户密码(弃用)由官方发布", example = "弃用")
    private String password;
    @ApiModelProperty(value = "商品名字", example = "文具盒")
    private String name;
    @ApiModelProperty(value = "商品图片", example = "http://47.96.160.116:9090/files/1723189108105-文具盒.png")
    private String avatar;
    @ApiModelProperty(value = "角色(弃用)由官方发布", example = "弃用")
    private String role;
    @ApiModelProperty(value = "电话(弃用)由官方发布", example = "弃用")
    private String phone;
    @ApiModelProperty(value = "商品简介", example = "学得乐 简约ins风文具笔袋男孩女孩大容量日系帆布铅笔袋高颜值2023新款小学生笔盒初中女生文具盒")
    private String info;
    @ApiModelProperty(value = "地址(弃用)由官方发布", example = "弃用")
    private String address;
    @ApiModelProperty(value = "营业执照(弃用)由官方发布", example = "弃用")
    private String license;
    @ApiModelProperty(value = "已经出售数量", example = "102")
    private String status;
    @ApiModelProperty(value = "营业时间(弃用)由官方发布", example = "弃用")
    private String timerange;
    @ApiModelProperty(value = "兑换商品所需要的积分", example = "80000")
    private String type;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTimerange() {
        return timerange;
    }

    public void setTimerange(String timerange) {
        this.timerange = timerange;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
